[PATCH 2/2] Migration of externally managed arrays need majorversion to be set.

without this, array.major/minor defaults to 0/9 and we lack of continuous
suspends.

Signed-off-by: Przemyslaw Czarnowski <przemyslaw.hawrylewicz.czarnowski [at] intel.com>
---
Grow.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Grow.c b/Grow.c
index 9c63036..e3150ee 100644
--- a/Grow.c
+++ b/Grow.c
[at] [at] -1912,7 +1912,7 [at] [at] started:

sra = sysfs_read(fd, 0,
GET_COMPONENT|GET_DEVS|GET_OFFSET|GET_STATE|GET_CHUNK|
- GET_CACHE);
+ GET_CACHE|GET_VERSION);
if (!sra) {
fprintf(stderr, Name ": %s: Cannot get array details from sysfs\n",
devname);
--
1.7.3.4

--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo [at] vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
&quot;Hawrylewicz Cza [ Fr, 22 April 2011 00:56 ] [ ID #2058538 ]
Linux » gmane.linux.raid » [PATCH 2/2] Migration of externally managed arrays need majorversion to be set.

Vorheriges Thema: [PATCH 0/5] Level and chunk size migrations for imsm
Nächstes Thema: [PATCH 1/2] UT: imsm reshape test suite update